<template>
  <el-config-provider :locale="useAppStoreHook().lang === 'zh_CN' ? zhCn : en">
    <router-view />
  </el-config-provider>
</template>
<script setup>

import zhCn from 'element-plus/lib/locale/lang/zh-cn'
import en from 'element-plus/lib/locale/lang/en'
import { useAppStoreHook } from '@/store/useAppStoreHook'// store存放语言配置
// 引入app.scss


</script>
<style lang="scss">
html, body, #app {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

</style>
